<?php
	function get_annee_scolaire($date)
	{
		$date = preg_split("-/-", $date);

		if(intval($date[1]) < 06)
			return (intval($date[2])-1).'-'.$date[2];
		else
			return $date[2].' - '.(intval($date[2])+1);
	}
?>